package com.itheima.date.jdk8date;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;

public class Demo1 {
    public static void main(String[] args) {
        LocalDateTime now = LocalDateTime.now();
        System.out.println(now);

        LocalDateTime localDateTime = LocalDateTime.of(1999, 10, 11, 13, 10, 10);
        System.out.println(localDateTime);

        System.out.println(LocalDate.now());
        System.out.println(LocalDate.of(2000, 10, 10));

        System.out.println(LocalTime.now());
        System.out.println(LocalTime.of(5, 20, 13));
    }
}
